package com.github.chirspan.xaas.uc.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.github.chirspan.xaas.mybatis.util.tree.Tree;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

/**
 * @Author: chenpan
 * @Date: 2021-08-10 11:03:08
 * @Description: 联盟信息
 */
@TableName(value = "xaas_org_affiliation")
@Data
@ToString(callSuper = true)
public class OrgAffiliation extends Tree {

    @ApiModelProperty(value = "联盟名称")
    @TableField(value = "affiliation_name")
    private String affiliationName;

    @ApiModelProperty(value = "联盟类型 (1:医院 2:科室 3:医生)")
    @TableField(value = "affiliation_type")
    private String affiliationType;

    @ApiModelProperty(value = "管理机构id")
    @TableField(value = "management_org_id")
    private String managementOrgId;

    @ApiModelProperty(value = "主要负责人")
    @TableField(value = "principal_name")
    private String principalName;

    @ApiModelProperty(value = "负责人电话")
    @TableField(value = "principal_telecom")
    private String principalTelecom;

    @ApiModelProperty(value = "诊疗科目")
    @TableField(value = "healthcare_services")
    private String healthcareServices;

    @ApiModelProperty(value = "联盟简介")
    @TableField(value = "affiliation_introduction")
    private String affiliationIntroduction;

    @ApiModelProperty(value = "开始时间")
    @TableField(value = "start_datetime")
    private Date startDatetime;

    @ApiModelProperty(value = "结束时间")
    @TableField(value = "end_datetime")
    private Date endDatetime;

    @ApiModelProperty(value = "状态")
    @TableField(value = "status")
    private String status;

}

